/* ===================================================== */
/*                    HERO SECTION PRO                   */
/* ===================================================== */

.hero{
    width:100%;
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:140px 6% 80px;
    gap:60px;
    box-sizing:border-box;
    position:relative;
}


/* ===================================================== */
/*                LEFT CONTENT (TEXT)                   */
/* ===================================================== */

.hero-content{
    flex:0.85;
    z-index:2;
}

.hero-badge{
    display:inline-block;
    padding:10px 18px;
    border-radius:30px;
    color:#00ffee;
    border:1px solid rgba(0,255,238,.3);
    background:rgba(0,255,238,.05);
    margin-bottom:22px;
    font-size:14px;
}

.hero-content h1{
    font-size:64px;
    line-height:1.2;
    color:#ffffff;
    margin-bottom:22px;
}

.hero-content p{
    font-size:20px;
    color:#a8b3cf;
    line-height:1.8;
    margin-bottom:35px;
    max-width:600px;
}


/* ===================================================== */
/*                    BUTTON                             */
/* ===================================================== */

.hero-btn{
    display:inline-block;
    padding:16px 40px;
    border-radius:16px;
    text-decoration:none;
    color:white;
    font-size:16px;
    font-weight:600;
    background:linear-gradient(90deg,#0088ff,#00ffee);
    box-shadow:0 0 25px rgba(0,255,238,.35);
    transition:.3s;
}

.hero-btn:hover{
    transform:translateY(-4px);
    box-shadow:0 0 40px rgba(0,255,238,.6);
}


/* ===================================================== */
/*                RIGHT SIDE (CHART)                    */
/* ===================================================== */

.hero-image{
    flex:1.55;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
}


/* Glow effect */
.glow-circle{
    position:absolute;
    width:260px;
    height:260px;
    background:#00ffee;
    border-radius:50%;
    filter:blur(120px);
    opacity:.12;
    top:10px;
    left:60px;
    pointer-events:none;
}


/* ===================================================== */
/*                                                        */
/*              کارت داشبورد زنده (نمونه کاربران)          */
/*                                                        */
/* ===================================================== */

.holo-anim{
    position:relative;
    width:100%;
    max-width:1050px;
    /* دیگه کارتِ لبه‌دار نیست — خودِ عکس نزدیکِ چهارلبه محو می‌شه و توی هر
       پس‌زمینه‌ای که پشتش باشه (صرف‌نظر از عرضِ صفحه) به‌طورِ طبیعی حل می‌شه */
}

.dash-card{
    position:relative;
    width:100%;
    max-width:700px;
    border-radius:32px;
    padding:32px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(0,255,238,.18);
    backdrop-filter:blur(16px);
    box-shadow:
        0 25px 60px rgba(0,0,0,.4),
        0 0 40px rgba(0,255,238,.08);
    box-sizing:border-box;
}


/* ===================================================== */
/*                    تیتر کارت                           */
/* ===================================================== */

.dash-title{
    display:flex;
    align-items:center;
    gap:9px;
    margin-bottom:18px;
    font-size:14.5px;
    font-weight:700;
    color:#eaf2ff;
}

.dash-live-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#00ff88;
    animation:dashLivePulse 1.8s ease-out infinite;
}

@keyframes dashLivePulse{
    0%{ box-shadow:0 0 0 0 rgba(0,255,136,.55); }
    70%{ box-shadow:0 0 0 9px rgba(0,255,136,0); }
    100%{ box-shadow:0 0 0 0 rgba(0,255,136,0); }
}


/* ===================================================== */
/*                  اطلاعات کاربر                         */
/* ===================================================== */

.dash-user{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:18px;
}

.dash-avatar{
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:700;
    color:#020611;
    background:linear-gradient(135deg,#00ffee,#8b5cf6);
    flex:0 0 auto;
    transition:opacity .35s ease;
}

.dash-user-info{
    flex:1;
    min-width:0;
    transition:opacity .35s ease;
}

.dash-user-info .name{
    font-size:16px;
    font-weight:700;
    color:#ffffff;
}

.dash-user-info .sub{
    font-size:12.5px;
    color:#7c88a8;
    margin-top:3px;
}

.dash-pnl{
    flex:0 0 auto;
    text-align:left;
    padding:7px 14px;
    border-radius:16px;
    font-size:13px;
    font-weight:700;
    font-variant-numeric:tabular-nums;
    direction:ltr;
    transition:opacity .35s ease;
}

.dash-pnl.pos{
    color:#00ff88;
    background:rgba(0,255,136,.1);
    border:1px solid rgba(0,255,136,.28);
}

.dash-pnl.neg{
    color:#ff3b5c;
    background:rgba(255,59,92,.1);
    border:1px solid rgba(255,59,92,.28);
}

.dash-pnl.risk{
    color:#ffb454;
    background:rgba(255,180,84,.1);
    border:1px solid rgba(255,180,84,.3);
    direction:rtl;
}

.fade-out .dash-avatar,
.fade-out .dash-user-info,
.fade-out .dash-pnl,
.fade-out .dash-fund,
.fade-out .dash-sub-label{
    opacity:0;
}


/* ===================================================== */
/*                  نمودار اصلی قیمت                       */
/* ===================================================== */

.dash-main-chart{
    position:relative;
    width:100%;
    height:150px;
    margin-bottom:16px;
}

.dash-main-chart canvas,
.dash-sub-chart canvas{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    display:block;
}


/* ===================================================== */
/*                  ردیف تحلیل بنیادی                     */
/* ===================================================== */

.dash-fund{
    margin-bottom:18px;
    transition:opacity .35s ease;
}

.dash-fund-top{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:8px;
}

.dash-fund-top .ico{
    font-size:15px;
}

.dash-fund-top .lab{
    font-size:13px;
    color:#a8b3cf;
    flex:1;
}

.dash-fund-badge{
    font-size:12.5px;
    font-weight:700;
    padding:4px 11px;
    border-radius:12px;
}

.dash-fund-badge.pos{
    color:#00ff88;
    background:rgba(0,255,136,.1);
}

.dash-fund-badge.neg{
    color:#ff3b5c;
    background:rgba(255,59,92,.1);
}

.fund-meter{
    height:5px;
    border-radius:5px;
    background:rgba(255,255,255,.06);
    overflow:hidden;
}

.fund-meter-fill{
    height:100%;
    border-radius:5px;
    background:linear-gradient(90deg,#00ffee,#8b5cf6);
    transition:width .5s ease;
}


/* ===================================================== */
/*                  زیرنمودار سیگنال تکنیکال               */
/* ===================================================== */

.dash-sub-label{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:8px;
    font-size:12.5px;
    color:#7c88a8;
    transition:opacity .35s ease;
}

.dash-sub-label .legend{
    display:flex;
    gap:12px;
}

.dash-sub-label .legend span{
    display:inline-flex;
    align-items:center;
    gap:5px;
}

.tri{
    width:0;
    height:0;
    border-left:4px solid transparent;
    border-right:4px solid transparent;
}

.tri.buy{
    border-bottom:6px solid #00ff88;
}

.tri.sell{
    border-top:6px solid #ff3b5c;
}

.dash-sub-chart{
    position:relative;
    width:100%;
    height:118px;
    border-top:1px solid rgba(255,255,255,.06);
    padding-top:8px;
}


/* ===================================================== */
/*                نوار پیشرفت چرخش کاربر                  */
/* ===================================================== */

.progress-track{
    height:2px;
    border-radius:2px;
    background:rgba(255,255,255,.08);
    margin-top:16px;
    overflow:hidden;
}

.progress-fill{
    height:100%;
    width:0%;
    background:linear-gradient(90deg,#00ffee,#8b5cf6);
}

.progress-fill.animate{
    animation:dashFillBar 10s linear;
}

@keyframes dashFillBar{
    from{ width:0%; }
    to{ width:100%; }
}


/* ===================================================== */
/*                  سلب مسئولیت                          */
/* ===================================================== */

.dash-disclaimer{
    margin:14px 0 0;
    font-size:10.5px;
    color:#5c6a8c;
    text-align:center;
    line-height:1.7;
}


/* ===================================================== */
/*                RESPONSIVE                            */
/* ===================================================== */

@media(max-width:1100px){
    .hero{
        flex-direction:column;
        text-align:center;
        gap:40px;
    }

    .hero-content h1{
        font-size:48px;
    }

    .dash-card{
        max-width:440px;
        margin:0 auto;
    }

    .holo-anim{
        max-width:520px;
        margin:0 auto;
    }
}

@media(max-width:600px){
    .hero-content h1{
        font-size:36px;
    }

    .hero-content p{
        font-size:16px;
    }
}